<template>
    <div class="TT">
        {{ title }}
    </div>
</template>
<script setup>
defineProps({
    title: {
        type: String,
        default: '默认标题'
    }
})
</script>
<style scoped>
.TT {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  text-align: center;
  margin: 20px 0;
  padding: 10px;
  background: linear-gradient(to right, #f8f8f8, #e0e0e0);
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
</style>
